<template>
  <view
    class="v-loading-block"
    :style="{ height: height }"
  >
    <wd-loading color="#ff2f3b" />
  </view>
</template>

<script setup lang="ts">
withDefaults(
  defineProps<{
    height?: string;
  }>(),
  {
    height: '350rpx'
  }
);
</script>

<style lang="scss" scoped>
.v-loading-block {
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>
